package com.og.ouroa.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.og.ouroa.pojo.entity.CourseBoard;
import com.baomidou.mybatisplus.extension.service.IService;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author Us
 * @since 2021-12-13
 */
public interface CourseBoardService extends IService<CourseBoard> {



    //获取留言
    IPage<CourseBoard> getBycid(Page<CourseBoard> pages,Integer cid,Integer pid);

    //添加留言
    void addBoard(CourseBoard courseBoardVO);

    //删除留言
    void removeBoard(Integer bid);



}
